<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!-- <link rel="Bookmark" href="/favicon.ico" > -->
    <!-- <link rel="Shortcut Icon" href="/favicon.ico" /> -->
    <!--[if lt IE 9]>
    <script type="text/javascript" src="lib/html5shiv.js"></script>
    <script type="text/javascript" src="lib/respond.min.js"></script>
    <![endif]-->
    <!-- Bootstrap core CSS -->
    <link href="/static/zwb/admin/css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="/static/zwb/admin/css/dashboard.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/static/zwb/admin/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="/static/zwb/admin/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="/static/zwb/admin/1.0.8/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="/static/zwb/admin/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="/static/zwb/admin/h-ui.admin/css/style.css"/>
    <!--[if IE 6]>
    <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>管理员列表</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 新闻管理 <span
        class="c-gray en">&gt;</span> 新闻列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
                                              href="javascript:location.replace(location.href);" title="刷新"><i
        class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<div class="page-container">
    <div class="text-c">

        <input type="text" class="input-text" style="width:250px" placeholder="输入文章标题" name="">
        <button type="submit" class="btn btn-success" name=""><i class="Hui-iconfont">&#xe665;</i> 搜新闻</button>
    </div>
    <div class="cl pd-5 bg-1 bk-gray mt-20">
        <!--<span class="l"><a href="javascript:;" onclick="datadel()" class="btn btn-danger radius"><i class="Hui-iconfont">&#xe6e2;</i> 批量删除</a> -->
        <span class="r">共有数据：<strong>{$art_count}</strong> 条</span>
    </div>

    <div class="cl pd-5 bg-1 bk-gray mt-20">

        <h2 class="sub-header glyphicon glyphicon-globe"> 新闻列表</h2>
        <table class="table table-striped table-hover table-bordered radius">
            <thead class="text-c">
            <tr class="info" style="text-align:center;">
                <th class="col-md-1">ID</th>
                <th class="">新闻标题</th>
                <th>所属用户</th>
                <th>所属频道</th>
                <th>热门程度</th>
                <th class="">上传时间</th>
                <th>状态</th>
                <th class="col-md-2">操作</th>
            </tr>
            </thead>
            <tbody class="text-c">
            {if !(empty($result))}
            {volist name='result' id='v'}
            <tr>
                <td>{$v['aid']}</td>
                <td>{$v['aname']}</td>
                <td>{$tel}</td>
                <td>{$cname}</td>
                <td>{$v['hot'] == 1?'热门':'非热门';}</td>
                <td>{$v['regtime']}</td>
                <td>{$v['dispaly'] == 1 ?'已通过':'未通过';}</td>
                <!--<td><a><span class="glyphicon glyphicon-question-sign"></span></a></td>-->
                <td>
                    <button type="button" class="btn btn-danger btn-sm" data-toggle="modal" data-target="#myModal">详情</button>
                </td>
            </tr>
            {/volist}
            {else}
            <tr>
                <td>暂无数据....</td>
            </tr>
            {/if}
            </tbody>
        </table>

        <nav aria-label="Page navigation">
            <ul class="pager">
                <li>
                    <a href="#" aria-label="Previous">
                        <span aria-hidden="true" class="glyphicon glyphicon-menu-left"></span>
                    </a>
                </li>
                <li><a href="#">1</a></li>
                <li><a href="#">2</a></li>
                <li><a href="#">3</a></li>
                <li><a href="#">4</a></li>
                <li><a href="#">5</a></li>
                <li>
                    <a href="#" aria-label="Next">
                        <span aria-hidden="true" class="glyphicon glyphicon-menu-right"></span>
                    </a>
                </li>
            </ul>
        </nav>

        <!-- Button trigger modal -->
        <!-- <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
          Launch demo modal
        </button> -->

        <!-- Modal -->
        <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>

                    </div>
                    <div style="padding:10px;">
                        Think Defferent
                        Here’s to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differently. They’re not fond of rules. And they have no respect for the status quo. You can quote them, disagree with them, glorify or vilify them. About the only thing you can’t do is ignore them. Because they change things. They push the human race forward. And while some may see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world, are the ones who do.
                        - Apple Inc.
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">
                            关闭
                        </button>
                        <button type="button" class="btn btn-primary">保存</button>
                    </div>
                </div>
            </div>
        </div>



        <!-- <span class="glyphicon glyphicon-eject" style="font-size:30px;pxcolor:#f90"></span>  -->
    </div>

</div>
<script src="/static/zwb/admin/js/jquery.min.js"></script>
<script src="/static/zwb/admin/js/bootstrap.min.js"></script>
</body>
</html>
